package com.tarena.lbs.business.servcie;

import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.param.ChainQuery;
import com.tarena.lbs.business.pojo.param.StoreParam;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.ChainVO;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Service;

@Service
public interface StoreService {


    PageResult<StoreVO> pageList(StoreQuery query);

    void save(StoreParam param);

    PageResult<ChainVO> getAllChain(ChainQuery query);

    void enable(Integer id);

    void updateStatus(Integer id);

    void updateStatusDisable(Integer id);

    StoreVO getStoreById(Integer id);

    void deleteStore(Integer id);

    PageResult<StoreVO> getStoreByCity(AreaStoreQuery query);
}
